<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>

	<c:if test="${field=="login"}">
		<c:if test="${result}">
			<c:out value="{\"class\":\"success\",\"message\":\"<spring:message code="label.reg.loginsuccess"/>\""></c:out>
		</c:if>
		<c:if test="${!result}">
			<c:out value="{\"class\":\"error\",\"message\":\"<spring:message code="label.reg.loginerror"/>\""></c:out>
		</c:if>

	</c:if>